﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UcThongTinKhoaHoc.ascx.cs" Inherits="STT.Profilehv.UserControls.ThongTinKhoaHoc" %>
<link href="../css/bootstrap.css" rel="stylesheet" />
<link href="../css/style.css" rel="stylesheet" />
<div id="biography" class="page home">
    <div style="width:80%">
         <div class="row" style="margin-top:50px">
            <div class="col-md-7">
            <h1 class="title"><span id="ctl02_DtlIndex_Label1_0">Thông tin khóa học</span></h1>
            </div>                                 
        </div>
        <div>
         <asp:GridView ID="gvKhoaHoc" runat="server" CssClass="table table-bordered"
                AutoGenerateColumns="False" DataKeyNames="MaKhoaHoc"
                OnSelectedIndexChanging="gvKhoaHoc_SelectedIndexChanging" OnPageIndexChanging="gvKhoaHoc_PageIndexChanging">
                <Columns>
                    <asp:BoundField DataField="MaKhoaHoc" HeaderText="Mã khóa học"
                        InsertVisible="False" ReadOnly="True" SortExpression="MaKhoaHoc"
                        ItemStyle-CssClass="span1">
                        <ItemStyle CssClass="span1"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField DataField="TenKhoaHoc" HeaderText="Tên khóa học"
                        SortExpression="TenKhoaHoc" ItemStyle-CssClass="span2">
                        <ItemStyle CssClass="span2"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField DataField="DiaDiemHoc" HeaderText="Địa điểm học"
                        SortExpression="DiaDiemHoc" ItemStyle-CssClass="span2">
                        <ItemStyle CssClass="span2"></ItemStyle>
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="Thời gian bắt đầu" 
                        SortExpression="ThoiGianBatDau">
                        <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" 
                                Text='<%# Bind("ThoiGianBatDau", "{0:dd-MM-yyyy}") %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle CssClass="span1" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Thời gian kết thúc" 
                        SortExpression="ThoiGianKetThuc">
                        <ItemTemplate>
                            <asp:Label ID="Label2" runat="server" 
                                Text='<%# Bind("ThoiGianKetThuc", "{0:dd-MM-yyyy}") %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle CssClass="span1" />
                    </asp:TemplateField>
                    <asp:BoundField DataField="NamHoc" HeaderText="Năm học"
                        SortExpression="NamHoc" ItemStyle-CssClass="span1">
                        <ItemStyle CssClass="span1"></ItemStyle>
                    </asp:BoundField>
                   <%-- <asp:TemplateField HeaderText="Chi tiết" ShowHeader="False" ItemStyle-CssClass="span1">
                        <ItemTemplate>
                            <asp:ImageButton ID="imgbntchitiet" runat="server" ImageUrl="../../img/detail.jpg" OnClick="imgbntchitiet_Click" />
                        </ItemTemplate>
                        <ItemStyle CssClass="span1" HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
                    </asp:TemplateField>--%>
                </Columns>
            </asp:GridView>
        </div>
    </div>
    <div class="pagecontents" style="background-color:#F8F8F8">
          <asp:Panel ID="pnchitietkhoahoc" runat="server" Visible="false">
           <div style="margin-top:30px;">
            <h1 class="title"><span id="Span1">Nội dung khóa học</span></h1>                            
            <div style="width:100%;height:100%">
            <asp:Label ID="lblnd" Width="80%" CssClass="noidungct" runat="server"></asp:Label>
            </div>
        </div>
       </asp:Panel>
    </div>
</div>